package com.hmall.chart;

import com.hmall.api.config.FeignDefaultLogLeve;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.redis.core.RedisTemplate;

@EnableFeignClients(value = {"com.hmall.api.client", "com.hmall.api.sentinel"}, defaultConfiguration = FeignDefaultLogLeve.class)
@MapperScan("com.hmall.chart.mapper")
@ComponentScan(basePackages = {"com.hmall.chart", "com.hmall.api.sentinel"})
@SpringBootApplication
public class ChartApplication {
    public static void main(String[] args) {
        SpringApplication.run(ChartApplication.class, args);
    }


}